feat: add GraphQL API Reference example#10
Conversation
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
🌿 Preview your docs (multi-source/seeds-sunflower): https://fern-docs-examples-preview-devin-1779474903-graphql-example-mu.docs.buildwithfern.com/seeds/sunflower |
|
🌿 Preview your docs (multi-source/nursery): https://fern-docs-examples-preview-devin-1779474903-graphql-example-mu.docs.buildwithfern.com/nursery |
|
🌿 Preview your docs (multi-source/greenhouses): https://fern-docs-examples-preview-devin-1779474903-graphql-example-mu.docs.buildwithfern.com/greenhouses |
|
🌿 Preview your docs (docs-starter): https://fern-docs-examples-preview-devin-1779474903-graphql-example-do.docs.buildwithfern.com |
|
🌿 Preview your docs (multi-source/homepage): https://fern-docs-examples-preview-devin-1779474903-graphql-example-mu.docs.buildwithfern.com |
|
🌿 Preview your docs (multi-source/seeds): https://fern-docs-examples-preview-devin-1779474903-graphql-example-mu.docs.buildwithfern.com/seeds |
|
🌿 Preview your docs (versioning): https://fern-docs-examples-preview-devin-1779474903-graphql-example-ve.docs.buildwithfern.com |
|
🌿 Preview your docs (i18n): https://fern-docs-examples-preview-devin-1779474903-graphql-example-i1.docs.buildwithfern.com |
|
🌿 Preview your docs (multi-source/seeds-tomato): https://fern-docs-examples-preview-devin-1779474903-graphql-example-mu.docs.buildwithfern.com/seeds/tomato |
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Summary
Adds a plant-themed GraphQL API Reference example project. The example demonstrates:
schema.graphql) with queries, mutations, subscriptions, enums, and input typesgenerators.ymlwith agraphqlspec entry (includingnameandorigin)docs.ymlwith a custom layout that groups operations by section (Plants, Orders, Subscriptions)The schema models a plant store with plants, orders, and order items — consistent with the plant-themed content used across other Fern examples.
Review & Testing Checklist for Human
fern checkin thegraphql/directorygraphql.docs.buildwithfern.comand verify the GraphQL API Reference renders correctlyNotes
This example is being added alongside fern-api/docs#5606 which unhides the GraphQL Reference documentation page. Once published, the live demo URL can be linked from the docs page.
Link to Devin session: https://app.devin.ai/sessions/6ec297a50749439ab276ea17ccd914d7
Requested by: @devalog